import request from '@/utils/request'

export default {
  // /fileUpload/upload
  // 文件上传测试接口
  upload(){
    return request({
      url: ``,
      method: 'post',
      data
    })
  },
  save(data) {
    return request({
      url: ``,
      method: 'post',
      data
    })
  },
  list(page) {
    return request({
      url: ``,
      method: 'get',
      params: { pageIndex: page.index, pageSize: page.size }
    })
  },
  delete(data) {
    return request({
      url: ``,
      method: 'delete',
      data
    })
  },
  getById(id) {
    return request({
      url: ``,
      method: 'get'
    })
  }

}
